import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        redirect: '/login',
        meta: {},
    },
    {
        path: '/login',
        name: 'login',
        meta: {},
        component: () => import(/* webpackChunkName: "login" */ '@/views/login')
    },
    {
        path: '/addMake',
        name: 'addMake',
        meta: {},
        component: () => import('@/views/addMake')
    },
]

const router = new VueRouter({
    routes
})
export default router
